package com.muyu.system.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品门头 对象 danmo_shopping_door
 *
 * @author kunzong
 * @date 2024-12-02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoShoppingDoor extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 商品门头表唯一id
     */
    private Long id;

    /**
     * 商品id
     */
    @Excel(name = "商品id")
    private Long productId;

    /**
     * 商品图片
     */
    @Excel(name = "商品图片")
    private String picture;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remake;

    @Override
    public String toString() {
        return new ToStringBuilder(this,
                ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("productId", getProductId())
                .append("picture", getPicture())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remake", getRemake())
                .toString();
    }
}
